package com.chixing.day03_oop;

public class DealNumber {
    public static void main(String[] args) {
        int sum = 564;
        for (int bai = 0; bai < 10; bai++) {
            for (int shi = 0; shi < 10; shi++) {
                for (int ge = 0; ge < 10; ge++) {
                    if(bai*100+shi*10+ge+bai*10+shi+bai==sum){
                        System.out.println(bai*100+shi*10+ge);
                    }
                }
            }
        }
    }
}
